const router = require('koa-router')()
const shopAddress = require('../api/shopAddress')
router.prefix('/shopAddress')
// #region
/**
 * @swagger
 * /shopAddress/details 根据id查找地址:
 *   post:
 *     description: 根据id查找地址
 *     tags: [地址模块]
 *     parameters:
 *       - name: addressId
 *         description: 地址id
 *         in: formData
 *         required: true
 *         type: number
 *     responses:
 *       0:
 *         description: 成功
 */
// #endregion
router.post('/details', shopAddress.details)
module.exports = router